package org.boge.sharpdoc.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;
import java.util.List;

//此注解作用：当属性值为空时，忽略异常
@JsonIgnoreProperties(value = {"handler"})
@Getter
@Setter
public class Document {
    private Integer docid;
    private DocGroup docGroup;
    private String title;
    private String storedname;
    private DocIcon suffixicon;
    private String description;
    private Integer pages;
    private Long filesize;
    private Integer neededintegral;
    private Integer hot;
    private Customer uploaduser;
    private Timestamp uploadtime;
    private Administrator auditor;
    private Integer downloadtimes;
    private String status;
    private List<Comment> commentList;
}
